package com.panshi.service.impl;

import com.panshi.mapper.TypeMapper;
import com.panshi.service.TypeService;
import com.panshi.vo.TypeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {

    @Autowired
    TypeMapper typeMapper;

    @Override
    public List<TypeVo> findType() {
        return typeMapper.findTypeList();
    }

    @Override
    public List<TypeVo> findTypeList() {
        return typeMapper.findTypeList();
    }

    @Override
    public List<TypeVo> findTypeListTwo() {
        return typeMapper.findTypeListTwo();
    }

    @Override
    public TypeVo findAssignType(int typeId) {
        return typeMapper.findAssignType(typeId);
    }
}
